package com.nervenets.template.hibernate.domain.data;

import com.nervenets.general.hibernate.DomainObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;

@ApiModel("用户日统计记录表")
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DataOfUser extends DomainObject {
    @ApiModelProperty(value = "新用户")
    private long newer;
    @ApiModelProperty(value = "支付人数")
    private long pay;
    @ApiModelProperty(value = "班级购买人数")
    private long classesPay;
    @ApiModelProperty(value = "导师购买人数")
    private long teacherPay;
    @ApiModelProperty(value = "课程购买人数")
    private long coursePay;
    @ApiModelProperty(value = "导师更换人数")
    private long transferPay;
    @ApiModelProperty(value = "退款人数")
    private long refund;
}
